<?php

use yii\bootstrap\ActiveForm;
use yii\captcha\Captcha;

?>
<div class="site-login">
        <div class="col-lg-5">
            <?php $form = ActiveForm::begin(); ?>

                <?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
                    'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
                ]) ?>


            <?php ActiveForm::end(); ?>
        </div>
    </div>